<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>旋转rotate</title>
    <style>
        img{
            width: 200px;
            transition: all 2s;
        }
        img:hover {
            /* 证书顺时针旋转，负数逆时针旋转，单位是deg，就表示度的意思 */
            /*transform: rotate(360deg);*/
            transform: rotate(-360deg);
        }

    </style>
</head>
<body>
<img src="images/rotate.png">
</body>
</html>
